package com.xianxiaohui.abstractfactory.fastfactory;

import com.xianxiaohui.abstractfactory.service.AbstractFactory;
import com.xianxiaohui.abstractfactory.service.HtmlDocument;
import com.xianxiaohui.abstractfactory.service.WordDocument;

public class FastFactory implements AbstractFactory {
    @Override
    public HtmlDocument createHtml(String md) {
        return new FastHtmlDocument(md);
    }

    @Override
    public WordDocument createWord(String md) {
        return null;
    }
}
